format = "零一二三四五六七八九"
text = input()
result=''
for i in text:
    result+=format[eval(i)]
print(result)
